﻿@model IEnumerable<MvcApplication4.Models.Post>

@{
    Layout = null;
}

@foreach (var item in Model) {
<div id = "Post_Box">
    <div id="Post_Info">
        <div id = "Post_Info_text">@Html.DisplayFor(modelItem => item.User.UserName)</div>
    </div>
    <div id="Post_Text">
        <div id="Post_Text_text">@Html.DisplayFor(modelItem => item.Text)</div>
        <div id="Post_Signature">Super Signature</div>
        <div id="Post_TimeStamp">@Html.DisplayFor(modelItem => item.Time)</div>
    </div>
</div>
}